home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / DCLAP 6d / dclap6d / network / nsclilib / ni_lib.h < prev    next >
Text File  |  1996-07-05  |  3KB  |  73 lines

  1. /*      
  2. * ===========================================================================
  3. *
  4. *                            PUBLIC DOMAIN NOTICE                          
  5. *               National Center for Biotechnology Information
  6. *                                                                          
  7. *  This software/database is a "United States Government Work" under the   
  8. *  terms of the United States Copyright Act.  It was written as part of    
  9. *  the author's official duties as a United States Government employee and 
  10. *  thus cannot be copyrighted.  This software/database is freely available 
  11. *  to the public for use. The National Library of Medicine and the U.S.    
  12. *  Government have not placed any restriction on its use or reproduction.  
  13. *                                                                          
  14. *  Although all reasonable efforts have been taken to ensure the accuracy  
  15. *  and reliability of the software and data, the NLM and the U.S.          
  16. *  Government do not and cannot warrant the performance or results that    
  17. *  may be obtained by using this software or data. The NLM and the U.S.    
  18. *  Government disclaim all warranties, express or implied, including       
  19. *  warranties of performance, merchantability or fitness for any particular
  20. *  purpose.                                                                
  21. *                                                                          
  22. *  Please cite the author in any work or product based on this material.   
  23. *
  24. * ===========================================================================
  25. *
  26. * File Name:    ni_lib.h
  27. *
  28. * Author:       Beatty, Gish
  29. *
  30. * Version Creation Date:        1/1/92
  31. *
  32. * $Revision: 4.0 $
  33. *
  34. * File Description: 
  35. *
  36. *
  37. * Modifications:  
  38. * --------------------------------------------------------------------------
  39. * Date     Name        Description of modification
  40. * -------  ----------  -----------------------------------------------------
  41. * 5/12/92  Epstein     Converted tabs to spaces
  42. *
  43. *
  44. * ==========================================================================
  45. *
  46. *
  47. * RCS Modification History:
  48. * $Log: ni_lib.h,v $
  49.  * Revision 4.0  1995/07/26  13:56:32  ostell
  50.  * force revision to 4.0
  51.  *
  52.  * Revision 1.4  1995/05/17  17:52:23  epstein
  53.  * add RCS log revision history
  54.  *
  55. */
  56.  
  57. #ifndef _NI_LIB_
  58. #define _NI_LIB_
  59.  
  60. #include "ncbinet.h"
  61. #include "ni_net.h"
  62.  
  63. #include "ni_msg.h"
  64.  
  65. /* DEFINES */
  66.  
  67. #define NI_TIMEOUT_SECS         60                      /* timeout for connections, requests, etc. */
  68. #define NI_SERV_LISTEN_TIMEOUT  1800                    /* default: servers timeout after 30 minutes */
  69. #define MAX_ALT_DISP_TRIES      2                       /* number of times to try alternate dispatchers */
  70.  
  71.  
  72. #endif
  73.